const subject_strs = [
    'HOME',
    'CLASS',
    'ACTIVITY',
    'NOTICE',
    'NEWS',
    'DAY_NEWS',
    'HOMEWORK',
    'DUTY',
    'SCHEDULE',
    '_GLOBAL'
];

/**
 *异步请求SUBJECT
 */

let SUBJECT = {};

/**
 *PAGE SUBJECT
 */

let PAGE_SUBJECT = {};
subject_strs.forEach(item=> {
    SUBJECT[item] = 'REQUEST_FETCH_STATE_' + item.toUpperCase();
    PAGE_SUBJECT[item] = 'PAGE_STATE_' + item.toUpperCase();
});
module.exports.SUBJECT = SUBJECT;
module.exports.PAGE_SUBJECT = PAGE_SUBJECT;

